package models;

import java.util.*;

import play.db.ebean.*;
import play.data.validation.Constraints.*;
import play.data.validation.*;

import javax.persistence.*;

@Entity
public class CustomerModel extends Model{
    
	@Id
	public Long id;
	public String name;
	public String phone;
	public String email;
	public String password;	
	public Date birthdate;
	public Float credit;
	
	public static Finder<Long,CustomerModel> find = new Finder(Long.class, CustomerModel.class);
	
	public static void init(){
	
	}	  
	
	public static List<CustomerModel> all() {
		return new ArrayList<CustomerModel>();
	}
	  
	public static void create(CustomerModel customer) {
		
	}   
}